package com.dao;

import com.entity.Result;
import com.query.ResultQuery;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ResultDao {

    int add(Result result);

    List<Result> queryAll();

    //不定条件查询
    List<Result> queryAllByCondition(ResultQuery query);
}
